package com.soloyogame.anitoys.db.dao.impl;import com.soloyogame.anitoys.db.BaseDao;import com.soloyogame.anitoys.db.bean.AppDictItem;import com.soloyogame.anitoys.db.dao.DictItemDao;import org.springframework.stereotype.Repository;import javax.annotation.Resource;import java.util.List;@Repositorypublic class DictItemDaoImpl implements DictItemDao {    @Resource    private BaseDao dao;    public void setDao(BaseDao dao) {        this.dao = dao;    }    /**     * 字典项查询     */    public List<AppDictItem> selectDictItemList(String code) {        return dao.selectList("app.dictItem.selectDictItemList", code);    }    /**     * 根据id查询字典项     */    public AppDictItem selectDictItemById(String id) {        return (AppDictItem) dao.selectOne("app.dictItem.selectDictItemById", id);    }}